package cn.com.project.pattern.p.observer;

import java.util.Observable;

/**
 * @Desc 3、韩非子，被观察者
 */
public class HanFeiZi extends Observable {

	public void activity(String name) {
		super.setChanged();
		super.notifyObservers("HanFeiZi去了" + name + "！");
	}
}
